<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>某项在侧轴的显示方式</title>
    <style>
        section{
            width: 500px;
            height: 150px;
            border: 1px solid #000;
            display: flex;
        }
        div{
            width: 100px;
            height: 100px;
            background: blanchedalmond;
        }
        div:nth-child(3){
            order:-1;                   /*控制输在前面，默认是0，负数是在前面，正数在后面*/
            align-self: flex-end;       /*当都在侧轴方向的底部显示*/
        }
    </style>
</head>
<body>
    <section>
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
        <div>5</div>
    </section>
</body>
</html>